package com.hongye.ssoclient.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class HelloController {
    /*
    * 无需登录可以访问
    * */
    @ResponseBody
    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }

    /*
    * 登录进行访问
    * */
    @GetMapping("/employess")
    public String employees(){
        return "";
    }


}
